package com.jxsd.edu.cn.struts2.dao;

import java.util.List;

import com.jxsd.edu.cn.struts2.models.Reply;

public interface ReplyDao
{
	//add  a reply  for the topic
    public  void  addReply(Reply reply);
    //delete  a reply  for  the topic
    public  void  deleteReply(String replyId);
    //get a reply
    public  Reply  getReply(String replyId);
    //get  all replies  for  a topic
    public   List<Reply>  getReplies(int topicId);
}
